FlexReport for .NET | ComponentOne
C1.Document Assembly / C1.Document Namespace / C1SortedList<TKey,TValue> Class / Add Method

In This Topic
    Add Method (C1SortedList<TKey,TValue>)
    In This Topic
    Adds value to the list, returns index of the added value, throws exception if value with specified key already exists.
    Syntax
    'Declaration
     
    Public Function Add( _
       ByVal key As TKey, _
       ByVal value As TValue _
    ) As Integer
    public int Add( 
       TKey key,
       TValue value
    )

    Parameters

    key
    value
    See Also